/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.joseph.violation.lsp;

import com.joseph.violation.lsp.Rectangle;

/**
 *
 * @author Bradley Joseph (210016299)
 */
public class Square  
{  
    private Rectangle r;  
    public void SetWidth (double x) { r.SetWidth (x); r.SetHeight (x); }  
    public void SetHeight (double x) { r.SetWidth (x); r.SetHeight (x); }  
    public double GetWidth () { return r.GetWidth(); }  
    public double GetHeight() { return r. GetHeight(); }  
    public double GetArea () { return r. GetArea(); }  
}

